package com.example.liqm.progressbar;

import android.graphics.Color;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
      //  ProgressBar progressBar = (ProgressBar) findViewById(R.id.progreebar);
      //  ProgressDialog progressDialog = new ProgressDialog(this);
       // progressDialog.show();
        RoundProgress p = (RoundProgress) findViewById(R.id.roundprogress);
        p.setTextSize(18);
        p.setTextColor(Color.BLACK);
        p.setCricleColor(Color.RED);
        p.setProgress(60);
        p.setCricleProgressColor(Color.CYAN);
        p.setMax(100);
        p.setRoundWidth(10);

    }
}
